home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
diskmags
/
4671-5.790
/
dmg-5269
/
routines
/
elpiano.txt
next >
Wrap
Text File
|
1995-06-30
|
2KB
|
47 lines
THE THIRD DIMENSION
Let's make music in 3DKit 2
---------------------------
The following datafiles belong to this explanation and they are
suitable for Amiga and Atari:
elpiano.3wd - datafile
piano.iff - border
piano.3sm - soundbank
Load elpiano.3wd in Kit 2. Through the File Menu click on sound -
load samples: piano.3sm. Click on the eye icon. Press ESC to let
the border appear. You can make music in two ways:
1. Click with the right mousebutton on the keys of the Keyboard on
your screen. The central C key is the fourth white key from the
left; or
2. Use the following keys on your computer keyboard:
2 3 4 6 7 9 0 - black keys
q w e r t y u i o p [ ] white keys from central C
z x v white keys one octave lower.
Each time you press a key or click a key, it will change colour, so
you can see which key you are using.
Each piano key is attached to a procedure to produce the sound, the
colour change and the appearance of a brushanim. I used 2 cubes for
each piano key, so when you click on a key, that one disappears, and
the one underneath appears. I used the TOGVIS command to achieve this.
This command enables you to make an object invisible when it is
visible and vice-versa.
Click on the Icons in the border to hear some tunes made with this
electric piano. You will find the routines in Procedures 25 to 28.
Have fun!
Mieke